﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using VectorMath;

namespace GeometrySeedGenerator
{
    class Program
    {
        static void Main(string[] args)
        {
            log4net.Config.XmlConfigurator.Configure();
            //log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
            log4net.ILog log = log4net.LogManager.GetLogger(typeof(Program));
            log.Info("Program Starting.");
            log.Info("Defining coordinates.");
            Vector.MemorySafe_CartCoord coord = new Vector.MemorySafe_CartCoord(0,0,0); 
            Vector.MemorySafe_CartCoord coord1 = new Vector.MemorySafe_CartCoord(-200,0,0);
            Vector.MemorySafe_CartCoord coord2 = new Vector.MemorySafe_CartCoord(-200,-200,0);
            Vector.MemorySafe_CartCoord coord3 = new Vector.MemorySafe_CartCoord(0,-200,0);
            List<Vector.MemorySafe_CartCoord> coords = new List<Vector.MemorySafe_CartCoord>();
            coords.Add(coord);
            coords.Add(coord1);
            coords.Add(coord2);
            coords.Add(coord3);
            for (int c=0; c < coords.Count; c++)
            {
                log.Debug("Point " +c+ ": ["+coords[c].X+","+coords[c].Y+","+coords[c].Z+"]");
            }
            TwoDGeom TwoD = new TwoDGeom(coords);
            log.Info("Program Terminating.");
        }
    }
}
